package com.funsport.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 场地实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("venues")
public class Venue implements Serializable {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private String name;
    private String description;
    private Long managerId;
    private String category;
    private String sportTypes;
    private String address;
    private String city;
    private String district;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String phone;
    private String email;
    private String facilities;
    private Integer capacity;
    private BigDecimal area;
    private String businessHours;
    private String priceInfo;
    private String coverImage;
    private String images;
    private String status;
    private Boolean isVerified;
    private Integer totalBookings;
    private BigDecimal rating;
    private Integer reviewCount;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}

